package com.lj.ljminsu.houseDetails.controller;

import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Controller;

//接受消息
@Controller
public class demo {
    @JmsListener(destination = "ljOrder")
    public void resive(String msg){
        System.out.println(msg);
        System.out.println("谢谢乌蝇锅");
    }
}
